package cn.kgc.layui.service;

import cn.kgc.layui.entity.Authority;
import cn.kgc.layui.entity.Student;
import cn.kgc.layui.util.LayUiResult;
import cn.kgc.layui.vo.ZtreeVO;

import java.util.Date;
import java.util.List;

public interface AuthorityService {
    LayUiResult<Authority> list(String authorityName, String menuUrl, String authority);

    int save(String authorityName,
             String menuUrl,
             int parentId,
             int isMenu,
             String menuIcon,
             int orderNumber,
             String authority
             );
    int update(int authorityId,String authorityName,
               String menuUrl,
               int parentId,
               int isMenu,
               String menuIcon,
               int orderNumber,
               String authority);
    int delete(String id,String ids);

    public LayUiResult<ZtreeVO> ztreeData(String roleId);
}
